<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body {
            width: 300px;
        }

        .container {
            width: 100%;
            height: 50px;
            background-color: #fff;
            box-sizing: border-box;
            transition: height 0.5s ease-in;
        }

        .container[select="true"] {
            height: 100px;
        }

        .product_size_wrap {
            box-sizing: border-box;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 5px;
        }

        .product_size_value {
            display: flex;
            align-items: center;
        }

        .product_size_value>span {
            margin-right: 5px;
        }

        .product_size_select {
            background-color: #ffa;
            height: 50px;
            display: none;
        }

        .product_size_select[select="true"] {
            display: flex;
        }
    </style>
</head>

<body bgcolor="#000">
    <div class="container">
        <div onclick="toggleSelected(this)" class="product_size_wrap">
            <strong>Size</strong>
            <div class="product_size_value">
                <span>5.0</span>
                <svg t="1625406255245" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"
                    p-id="2391" width="1rem" height="1rem">
                    <path
                        d="M472.064 751.552 72.832 352.32c-22.08-22.08-22.08-57.792 0-79.872 22.016-22.016 57.792-22.08 79.872 0L512 631.744l359.296-359.296c22.016-22.016 57.792-22.08 79.872 0 22.08 22.08 22.016 57.792 0 79.872l-399.232 399.232C529.856 773.568 494.144 773.568 472.064 751.552z"
                        p-id="2392" fill="#89795A"></path>
                </svg>
            </div>
        </div>
        <div class="product_size_select">

        </div>
        <!-- <select>
            <option value="5.00">5.00</option>
            <option value="5.25">5.25</option>
            <option value="5.50">5.50</option>
            <option value="5.75">5.75</option>
            <option value="6.00">6.00</option>
            <option value="6.25">6.25</option>
            <option value="6.50">6.50</option>
            <option value="6.75">6.75</option>
            <option value="7.00">7.00</option>
        </select> -->
    </div>

    <script src="product-size-select.js"></script>
</body>

</html>